/**
 * 表单配置
 */
const formConf = {
  version: "1.10",
  formRef: "elForm",
  formModel: "form",
  rules: "rules",
  size: "medium",
  labelPosition: "right",
  labelWidth: 80,
  formRules: "rules",
  gutter: 15,
  disabled: false,
  dynamicTableAllowed: true,
  // 关联表单：主表 / 单表
  tableName: "",
  // 是否是线框
  gridWordTheme: false,
  // 边距设置
  paddingTop: "0",
  paddingRight: "0",
  paddingBottom: "0",
  paddingLeft: "0",
};
export default formConf;

// 动态表单允许放入的组件
export const dynamicTableAllowedItems = [
  "input",
  "select",
  "radio",
  "checkbox",
  "Switch",
  "inputNumber",
  "textarea",
  "slider",
  "rate",
  "date",
  "time",
  "userList",
  "userDept",
];

// row允许放入的items
export const rowAllowedItems = [
  "input",
  "select",
  "radio",
  "checkbox",
  "Switch",
  "inputNumber",
  "textarea",
  "slider",
  "rate",
  "date",
  "time",
  "userList",
  "userDept",
];
// table允许放入的items
export const tableAllowedItems = ["row", "dynamicTable"];
